class MessagePageModel {
  int title;
  bool look;
  String date;
  String time;
  String content;

  MessagePageModel({this.title, this.look, this.date, this.time, this.content});

  MessagePageModel.fromJson(Map<String, dynamic> json) {
    title = json['title'];
    look = json['look'];
    date = json['date'];
    time = json['time'];
    content = json['content'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['title'] = this.title;
    data['look'] = this.look;
    data['date'] = this.date;
    data['time'] = this.time;
    data['content'] = this.content;
    return data;
  }
}
